 <ul class="clearfix">
 {loop $tags $t}
                    <li>
                    	<dl>
                        <dt class="vertical-img"><a href="{$t[linkurl]}"{if $target} target="{$target}"{/if}><img class="a-img" src="{str_replace('thumb', 'middle', $t[thumb])}" width="160" height="160" alt="{$t[alt]}"/></a></dt>
                   		<dd><a href="{$t[linkurl]}" title="{$t[alt]}"{if $target} target="{$target}"{/if}>{$t[title]}</a></dd>
                    </dl>
                    </li>
{/loop}
</ul>